﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BigWoo.Apps.CertToolLib
{
    /// <summary>
    /// copied from System.Security.Cryptography.X509Certificates.StoreName
    /// </summary>
    public enum StoreNameType
    {
        // this item is not in System.Security.Cryptography.X509Certificates.StoreName
        NotSet = 0,
        // Summary:
        //     The X.509 certificate store for other users.
        AddressBook = 1,
        //
        // Summary:
        //     The X.509 certificate store for third-party certificate authorities (CAs).
        AuthRoot = 2,
        //
        // Summary:
        //     The X.509 certificate store for intermediate certificate authorities (CAs).
        CertificateAuthority = 3,
        //
        // Summary:
        //     The X.509 certificate store for revoked certificates.
        Disallowed = 4,
        //
        // Summary:
        //     The X.509 certificate store for personal certificates.
        My = 5,
        //
        // Summary:
        //     The X.509 certificate store for trusted root certificate authorities (CAs).
        Root = 6,
        //
        // Summary:
        //     The X.509 certificate store for directly trusted people and resources.
        TrustedPeople = 7,
        //
        // Summary:
        //     The X.509 certificate store for directly trusted publishers.
        TrustedPublisher = 8,
    }

    /// <summary>
    /// copied from System.Security.Cryptography.X509Certificates.StoreLocationType
    /// </summary>
    public enum StoreLocationType
    {
        // this item is not in System.Security.Cryptography.X509Certificates.StoreLocationType
        NotSet = 0,
        // Summary:
        //     The X.509 certificate store used by the current user.
        CurrentUser = 1,
        //
        // Summary:
        //     The X.509 certificate store assigned to the local machine.
        LocalMachine = 2,
    }

}
